package org.example.erpapiservicespringpgimpl.Dao;

import org.example.erpapicommon.Util.Param.CustomerQueryParam;
import org.example.erpapicommon.Util.Param.EmployeeQueryParam;
import org.example.erpapicommon.Util.Param.PurchaseQueryParam;
import org.example.erpapicommon.Util.Param.ShipperQueryParam;
import org.example.erpapiservicespringpgimpl.entity.CustomerEntity;
import org.example.erpapiservicespringpgimpl.entity.EmployeeEntity;
import org.example.erpapiservicespringpgimpl.entity.ShipperEntity;
import org.example.erpapiservicespringpgimpl.entity.StockEntity;
import org.seasar.doma.Dao;
import org.seasar.doma.Select;
import org.seasar.doma.boot.ConfigAutowireable;
import org.seasar.doma.jdbc.SelectOptions;

import java.util.List;

@ConfigAutowireable
@Dao
public interface OtherDao {
    @Select
    List<EmployeeEntity> findEmployees(EmployeeQueryParam param, SelectOptions options);
    @Select
    List<CustomerEntity> findCustomers(CustomerQueryParam param, SelectOptions options);
   @Select
    List<ShipperEntity> findShippers(ShipperQueryParam param, SelectOptions options);
   @Select
    List<StockEntity> findPurchases(PurchaseQueryParam param, SelectOptions options);
}
